<script>
var timer_id = 0;
if (typeof window != 'undefined') {
	if (window.innerWidth > 750) {
		window.innerWidth = 750;
		timer_id = setInterval(function() {
			//适配尺寸
			var el = document.querySelector('html');
			var n = Number(el.style.fontSize.replace('px', ''));
			console.log(n);
			if (n > 30) {
				el.style.fontSize = '30px';
			}
			clearInterval(timer_id);
		}, 100);
	}
}
export default {
	onLaunch: function() {

	},
	onShow: function() {

		console.log('App Show');



	},
	onHide: function() {
		console.log('App Hide');
	},

	methods: {
		
	}
};
</script>
<style lang="scss">

@import "uview-ui/index.scss";
@import url('./common/font.css');
/*每个页面公共css */
page,
div,
view {
	max-width: 750px;
}
page {
	margin: 0 auto;
}
.head_left,
.head_center,
.head_right {
	width: 33.33%;
}
.head {
	z-index: 9;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 30rpx;
	height: 100rpx;
	position: fixed;
	top: 0;
	width: 100%;
	box-sizing: border-box;
	background-color: #ffffff;
}
.head_left {
	text-align: left;
}
.head_left image {
	width: 22rpx;
	height: 40rpx;
}
.head_center {
	text-align: center;
}
.head_right {
	text-align: right;
}
.head_tab_top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 30rpx;
	height: 100rpx;
	border-bottom: 1px solid #e0e0e0;
}
.head_tab_bottom {
	padding: 0 30rpx;
	// display: flex;
	// align-items: center;
	// justify-content: space-between;
	height: 60rpx;
	overflow: auto;
}
.head_tab {
	position: fixed;
	top: 0;
	width: 100%;
	background-color: #ffffff;
	box-sizing: border-box;
	z-index: 9;
}

uni-tabbar.uni-tabbar-bottom .uni-tabbar {
	margin: 0 auto;
}

.content {
	padding-top: 100rpx;
}
.tab_body {
	padding-top: 160rpx;
}
/* APP-PLUS */
/* #ifdef APP-PLUS||MP-ALIPAY||MP-WEIXIN||MP-KUAISHOU */
.head{
	padding-top: 70rpx !important;
	height: 170rpx !important;
}
.content{
	padding-top: 170rpx !important;
}
.head_tab{
	padding-top: 50rpx !important;
}
.tab_body{
	padding-top: 210rpx !important;
}
.index_center{
	margin-top: 350rpx !important;
}

.my_top{
	padding-top:50rpx !important;
}
.login_body .head_center{
	opacity: 1;
}
.login_body .head{
	padding-top: 170rpx !important;
	background: #ffffff;
	height: 250rpx !important;
}
.login_body .app_content{
	padding-top: 100rpx;
}
.my_top {
	padding-top: 70rpx !important;
}
.dd_body .head_tab{
	padding-top: 60rpx !important;
}
.ddxq_body ,.xq_bottom{
	padding-bottom: 30rpx !important;
	height: 120rpx !important;
}
.zhanwei_bottom{
	height: 80rpx;
}
.tabBar{
	padding-bottom: 20px !important;
}
.phone_mb{
	padding-top:246rpx;
}
/* #endif */

</style>
